package com.mfs.manager.mapper;

import com.mfs.manager.mapper.dbobj.Server;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ServerMapper {
    Server queryAUsableServerWithLock(int port);
    
    int insert(Server server);

    int removeById(long id);
    
    Server queryServerByOutIpAndIp(String outIp, String ip);
}
